package org.apache.rocketmq.console.script.dao;

import java.util.List;

import org.apache.rocketmq.console.script.model.EnvInfo;
import org.springframework.data.repository.CrudRepository;

public interface EnvInfoDao extends CrudRepository<EnvInfo, Integer> {
	@SuppressWarnings("unchecked")
	EnvInfo save(EnvInfo entity);

	List<EnvInfo> findAll();

	EnvInfo findOneByCode(String code);

}
